package com.khshop.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.khshop.pojo.Address;
import com.khshop.pojo.Menupriv;
import com.baomidou.mybatisplus.extension.service.IService;
import com.khshop.vo.ServiceResult;

import java.util.Map;

/**
 * <p>
 * 按钮权限 服务类
 * </p>
 *
 * @author zhaoyang
 * @since 2020-10-16
 */
public interface MenuprivService extends IService<Menupriv> {

    //新增按钮权限
    public ServiceResult<Menupriv> addMenupriv(Menupriv menupriv);

    //修改按钮权限
    public ServiceResult<Menupriv> updateMenupriv(Menupriv menupriv);

    //删除按钮权限
    public ServiceResult<Menupriv> delMenupriv(Integer id);

    //查询按钮权限
    public ServiceResult<IPage<Menupriv>> searchMenupriv(Map<String,String> map, Integer page, Integer limit);

}
